package com.javayh.mail.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <p>
 *
 * </p>
 *
 * @author Dylan-haiji
 * @version 1.0.0
 * @since 2020-03-08 14:44
 */
@ConfigurationProperties(
        prefix = "spring.mail",
        ignoreUnknownFields = true
)
public class EmailProperties {

	/** 用户名 */
	private String username;

	/** 密码 */
	private String password;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
